package com.nervenets.web.redis;

public abstract class RedisDomain {
    private int expire = 0;

    public abstract String getKey();

    public String getRedisKey() {
        return String.format("_LC_%s_", getKey());
    }

    public int getExpire() {
        return expire;
    }

    public void setExpire(int expire) {
        this.expire = expire;
    }
}
